import request from '@/router/axios'

export function fetchList(query) {
  return request({
    url: '/subwayst/swtkblack/page',
    method: 'get',
    params: query
  })
}

export function confirmBatch(obj) {
  return request({
    url: '/subwayst/swtkblack/confirmBatch',
    method: 'put',
    data: obj
  })
}

export function exportExcel(query) {
  return request({
    url: '/subwayst/swtkblack/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
